package com.lmk.homework.work01;

public class AccountText {
    public static void main(String[] args) {
        Account zs=new Account(111,20000.0,0.045);
        CheckAccount a=new CheckAccount(1111,20000.0,0.045,5000);

        a.deposit(5000);
        a.deposit(18000);
        a.deposit(3000);
    }
}
